
import QtQuick
import QtQuick.Controls

// 定义一个关闭窗口的信号


Rectangle{
    anchors.fill: parent
    id: mainWindow

    // 定义按钮样式
    property color normalColor: "#FFFFFF"
    property color hoverColor: "#DBDCDD"
    property color pressColor: "#92BD6C"
    // property color closeparent.hoverColor: "#E81123"
    // property color closeparent.pressColor: "#FF5252"

    signal closeWindow
    signal showMiniSize
    signal showMaxSize
    // 设置边框宽度
    border.width: 1
    // 设置边框颜色
    border.color: "gray"

    Header{
        id:headertool
    }
}
